package com.pengtu.entity.business.labs;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicReport;

/**
 * 试验室备案通知书
 * 
 * @author liuyang
 * 
 */
@Entity
@Table(name = "T_Q_CASE_LABS_NOTICE")
public class LabsNotice extends BasicReport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private FlowLabsFiling flowLabsFiling;
	private String code;
	private String did;
	/**
	 * flowLabsFiling
	 *
	 * @return  the flowLabsFiling
	 * @since   1.0.0
	 */
	@ManyToOne(targetEntity = FlowLabsFiling.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowLabsFiling getFlowLabsFiling() {
		return flowLabsFiling;
	}
	/**
	 * @param flowLabsFiling the flowLabsFiling to set
	 */
	public void setFlowLabsFiling(FlowLabsFiling flowLabsFiling) {
		this.flowLabsFiling = flowLabsFiling;
	}
	/**
	 * code
	 *
	 * @return  the code
	 * @since   1.0.0
	 */
	@Column(name="CODE")
	public String getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * did
	 *
	 * @return  the did
	 * @since   1.0.0
	 */
	@Column(name="DID")
	public String getDid() {
		return did;
	}
	/**
	 * @param did the did to set
	 */
	public void setDid(String did) {
		this.did = did;
	}
	
}
